#include <stdio.h>

long sizearr(int arr[]){
    return sizeof(arr)/sizeof(arr[0]);
}

int main(){

    int arr[] = {1,2,4};

    printf("arr size %lu  arr[0] %lu  %lu \n", sizeof(arr), sizeof(arr[0]), sizearr(arr));


    for (int i = 0; i < sizeof(arr)/sizeof(arr[0]); i++)
    {
        printf("arr[%d] \t %d \n", i, arr[i]);
    }
    
    int cf[9][9];

    for (int i = 0; i < 9; i++)
    {
        for (int j = 0; j < 9; j++)
        {
            cf[i][j] = (i+1) * (j+1);
        }
        
    }


    for (int i = 0; i < 9; i++)
    {
        for (int j = 0; j < 9; j++)
        {
            if (j > i)
            {
                continue;
            }
            
            printf(" %d * %d = %d \t", i+1, j+1, cf[i][j]);
        }
        printf("\n");
    }

    return 0;
}

